package research.domain;

import java.util.Set;
import java.util.Date;

import research.entity.Entity;
import research.entity.EntityType;

public final class Result extends Entity {
	private String number;
    private Date date;
    private String customer;
    private String researcher;
    private String works_list;
    private String results_list;
    private String company_name;
    private Set<Research> researches;
	
    public Result() {
		super(EntityType.Result);
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public String getResearcher() {
		return researcher;
	}

	public void setResearcher(String researcher) {
		this.researcher = researcher;
	}

	public String getWorks_list() {
		return works_list;
	}

	public void setWorks_list(String works_list) {
		this.works_list = works_list;
	}

	public String getResults_list() {
		return results_list;
	}

	public void setResults_list(String results_list) {
		this.results_list = results_list;
	}

	public String getCompany_name() {
		return company_name;
	}

	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}

	public Set<Research> getResearches() {
		return researches;
	}

	public void setResearches(Set<Research> researches) {
		this.researches = researches;
	}

	public static Result getNew() {
		Result res = new Result();
		res.setCompany_name("");
		res.setCustomer("");
		res.setDate(new Date());
		res.setNumber("");
		res.setResearcher("");
		res.setResults_list("");
		res.setWorks_list("");
		return res;
	}
    
    
}
